package org.example.rmsmsapi.model.Res;

//@Data
//@Entity
//@Table(name = "users")
public class User {
    private String id,username,password,role,status;

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", role='" + role + '\'' +
                ", status='" + status + '\'' +
                '}';
    }

    public User() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public User(String id, String username, String password, String role, String status) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.role = role;
        this.status = status;
    }
//    @Id
//    @Column(name = "id")
//    private String id;
//
//    @Column(name = "userName")
//    private String userName;
//
//    @Column(name = "password")
//    private String password;
//
//    @Column(name = "role")
//    private String role;
//
//    @Column(name = "status")
//    private Integer status;
}    